package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 
 *
 * @author code-generate
 * @date 2022-02-16
 */
@Data
@DbTable(tableName = "t_watermeter_price")
public class WatermeterPrice extends BaseEntity {
        /**
     * 水表价格ID
     */
    @DbTableField(columnName = "c_watermeter_price_id", dbType = DbTypeEnum.VARCHAR)
    public String watermeterPriceId ;

    /**
     * 
     */
    @DbTableField(columnName = "c_map_id", dbType = DbTypeEnum.INTEGER)
    public Integer mapId ;

    /**
     * 水表单价类型名称
     */
    @DbTableField(columnName = "c_watermeter_price_name", dbType = DbTypeEnum.VARCHAR)
    public String watermeterPriceName ;

    /**
     * 价格
     */
    @DbTableField(columnName = "c_price", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal price ;

    /**
     * 
     */
    @DbTableField(columnName = "c_in_use", dbType = DbTypeEnum.BIT)
    public Boolean inUse ;


}
